#include <stdio.h>
#include "esp_log.h"
#include "driver/i2c.h"
#include "freertos/task.h"
#include "freertos/FreeRTOS.h"
#include "string.h"
#include "geminai_gpio.h"
#include <unistd.h>
#include "geminai_log.h"

void CH455_Init(void);  //初始化
void digital_display(float temp,uint8_t state); //显示温度状态
void brightness_adjustment(int value);  //亮度调节

#define CH_ALARM 0x01       //警告
#define CH_FRIGE 0x20       //制冷
#define CH_DEFROST 0x08     //除霜
#define CH_FAN 0x10         //风扇
#define CH_MINUS 0x40       //负数
#define CH_SIGNAL 0x02      //信号4G
#define CH_DP 	0x80		// 小数点
